package com.bbs.junit;

import static org.junit.Assert.fail;

import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.FileSystemXmlApplicationContext;

import com.bbs.dao.RightTotalDao;
import com.bbs.dao.impl.RightTotalDaoImpl;
import com.bbs.entity.RightTotal;

public class RightDaoImplTest {
	ApplicationContext cxt = new FileSystemXmlApplicationContext(
	"/WebRoot/WEB-INF/applicationContext.xml");
	@Test
	public void testDelete() {
		fail("Not yet implemented");
	}

	@Test
	public void testFindAll() {
		
	}

	@Test
	public void testFindByHqlString() {
		fail("Not yet implemented");
	}

	@Test
	public void testFindByHqlStringObjectArray() {
		fail("Not yet implemented");
	}

	@Test
	public void testFindById() {
		fail("Not yet implemented");
	}

	@Test
	public void testFindByLoad() {
		fail("Not yet implemented");
	}

	@Test
	public void testFindByName() {
		fail("Not yet implemented");
	}

	@Test
	public void testFindByProperty() {
		fail("Not yet implemented");
	}

	@Test
	public void testGetAllCount() {
		fail("Not yet implemented");
	}

	@Test
	public void testGetAllCountStringObjectArray() {
		fail("Not yet implemented");
	}

	@Test
	public void testSave() {
		RightTotalDao rightDaoImpl=(RightTotalDao) cxt.getBean("rightDaoImpl");
		RightTotal right = new RightTotal();
		right.setRightName("aa");
		rightDaoImpl.save(right);
	}

	@Test
	public void testUpdateRight() {
		fail("Not yet implemented");
	}

	@Test
	public void testUpdateString() {
		fail("Not yet implemented");
	}

	@Test
	public void testUpdateStringObjectArray() {
		fail("Not yet implemented");
	}

	@Test
	public void testSaveByMerge() {
		fail("Not yet implemented");
	}

}
